package com.wing.bill.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 采购账单发票记录
 *
 * @author xiayang
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pur_purchase_bill_receipt")
public class PurchaseBillReceipt extends BaseEntity<PurchaseBillReceipt> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发票记录编码
     */
    private String code;

    /**
     * 账单ID
     */
    private Long billId;

    /**
     * 账单编码
     */
    @TableField(exist = false)
    private String billCode;

    /**
     * 发票编号
     */
    private String receiptCode;

    /**
     * 发票类型
     */
    private String receiptType;

    /**
     * 发票类型名称
     */
    private String receiptTypeName;

    /**
     * 发票金额
     */
    private BigDecimal receiptSum;

    /**
     * 开票日期
     */
    private String receiptTime;

    /**
     * 发票图片
     */
    private String receiptImg;

}
